package com.th.supcom.pds.phamapply.server;

import java.util.ArrayList;

import net.carefx.framework.container.client.exception.UiException;
import net.carefx.framework.web.gwt.server.GwtController;

import com.extjs.gxt.ui.client.data.BasePagingLoadResult;
import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.th.supcom.pds.phamapply.client.model.OrderExecModel;
import com.th.supcom.pds.phamapply.client.service.OrderExecRpc;
//import com.th.supcom.ui.domain.pojo.OrderExec;

//编写代码时释放此注释，（通过代码检查）
//import net.carefx.framework.util.ConvertUtils;
/**
 * OrderExec 控制层.
 * 
 * 医嘱拆分表.
 */
public class OrderExecServiceController extends GwtController implements OrderExecRpc
{

    /**
     * 默认构造函数.
     */
    public OrderExecServiceController ()
    {

    }

    @Override
    public OrderExecModel getOrderExecById (Long id) throws UiException
    {
        // TODO Controller层调用服务
        return null;
    }

    @Override
    public void addOrderExec (OrderExecModel orderexecModel) throws UiException
    {
        // TODO Controller层调用服务
        // OrderExec orderexec = ConvertUtils.convert(OrderExec.class,
        // orderexecModel);

    }

    @Override
    public void modifyOrderExec (OrderExecModel orderexecModel) throws UiException
    {
        // TODO Controller层调用服务
        // OrderExec orderexec = ConvertUtils.convert(OrderExec.class,
        // orderexecModel);

    }

    @Override
    public void removeOrderExec (Long id) throws UiException
    {
        // TODO Controller层调用服务
    }

    @Override
    public PagingLoadResult <OrderExecModel> getOrderExecListWithPaging (PagingLoadConfig config)
    {
        // TODO Controller层调用服务
        return new BasePagingLoadResult <OrderExecModel> (new ArrayList <OrderExecModel> (), config.getOffset (), 10);
    }

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}